package grape.base.service.message.po;

import grape.common.service.po.NormalBasePo;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 消息表
 * </p>
 *
 * @author yangwei
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_message")
public class Message extends NormalBasePo<Message> {

    private static final long serialVersionUID = 1L;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息简介
     */
    private String shortContent;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 业务数据id
     */
    private String businessId;
    /**
     * 消息分类，字典
     */
    private String typeDictId;

    /**
     * 是否已发送
     */
    private Boolean isSend;

    /**
     * 发送人id
     */
    private String sendUserId;
    @Override
    protected Serializable pkVal() {
        return null;
    }

}
